package com.qnaboard.dao;

import java.util.List;
import java.util.Map;

import com.qnaboard.domain.QnaBoardCommand;
import com.qnaboard.domain.QnaBoardCommentDto;

public interface QnaBoardDao {

	public int getRowCount(Map<String,Object> map);
	
	public int getReplyRowCount(Integer num);

	public List<QnaBoardCommand> boardList(Map<String, Object> map);
	
	public List<QnaBoardCommand> replyList(Integer num);
	
	public String preView(String num);
	
	public void updateReadCount(Integer num);
	
	public QnaBoardCommand readContent(Integer num);
	
	public QnaBoardCommand prevReadContent(Integer num);
	
	public QnaBoardCommand nextReadContent(Integer num);
	
	public void insertBoard(QnaBoardCommand qnaBoard);
	
	public void deleteBoard(Integer num);
	
	public void updateBoard(QnaBoardCommand qnaBoard);
	
	public void replyBoard(QnaBoardCommand qnaBoard);
	
		
	


}
